package com.jk.provider.config;

import org.apache.activemq.command.ActiveMQQueue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import javax.jms.Queue;

@Configuration
public class Config {
    @Bean
    public Queue queue(){
        return new ActiveMQQueue("qname1");
    }
    @Bean
    public Queue queue2(){
        return new ActiveMQQueue("qname2");
    }
    @Bean
    public Queue queue3(){
        return new ActiveMQQueue("qname3");
    }
}
